package kr.or.kosta.otr.persistence.report;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;

import kr.or.kosta.otr.vo.MessageVO;
import kr.or.kosta.otr.vo.ReportVO;

public interface ReportDao {
	int writeReport(ReportVO vo)throws SQLException;
	void deleteReport(int reportId)throws SQLException;
	ReportVO getOneReport(int reportId)throws SQLException;
	ArrayList<ReportVO> getAllReprot(String adminId)throws SQLException;
	void checkReport(HashMap<String, Object> map)throws SQLException;
	int getReportCount(String adminId)throws SQLException;
	ArrayList<ReportVO> getAllSendReprot(String userId) throws SQLException;
	ArrayList<ReportVO> getAllReprotPage(HashMap<String, Object> map)throws SQLException;
	int getAllReprotTotal(String adminId)throws SQLException;
}
